* lisp/simple.el (just-one-space): Remove useless `or' call.
authorDeniz Dogan <deniz.a.m.dogan@gmail.com>
Wed, 16 Feb 2011 21:06:23 +0000 (22:06 +0100)
committerDeniz Dogan <deniz.a.m.dogan@gmail.com>
Wed, 16 Feb 2011 21:06:23 +0000 (22:06 +0100)
lisp/ChangeLog
lisp/simple.el

index d0d3455ae4457dbb5c11ca4e65eec67384ba37da..3a187842d34611e1d33ae0b3eaaa94ed86c3b7ac 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
+
+       * simple.el (just-one-space): Remove useless `or' call.
+
 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
 
        * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
index 4d2a0e69836aa4ed1714d967a76553276058aae8..531c9212e34d89b37b336284a58a7f1ff2604089 100644 (file)
@@ -778,7 +778,7 @@ If N is negative, delete newlines as well."
         (n (abs n)))
     (skip-chars-backward skip-characters)
     (constrain-to-field nil orig-pos)
-    (dotimes (i (or n 1))
+    (dotimes (i n)
       (if (= (following-char) ?\s)
          (forward-char 1)
        (insert ?\s)))